package com.shiwaixiangcun.authz.shiro.authc;

import org.apache.shiro.authc.UsernamePasswordToken;

import java.util.Set;

/**
 * Created by Administrator on 2017/5/19.
 */
public class OAuth2DynamicPasswordToken extends UsernamePasswordToken {
    private Set<String> scopes;

    public OAuth2DynamicPasswordToken(String username, String password, Set<String> scopes) {
        super(username, password);
        this.scopes = scopes;
    }

    public Set<String> getScopes() {
        return scopes;
    }
}
